package com.yanqu.road.entity.activity.snowgarden;

import com.yanqu.road.utils.string.StringUtils;

public class SnowGardenCombTriggerData {
    private int combId = 0;
    private String param = "";
    private String skipParam = "";

    public int getCombId() {
        return combId;
    }

    public void setCombId(int combId) {
        this.combId = combId;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public void addParam(String param) {
        if(StringUtils.isNullOrEmpty(this.param)){
            this.param = param;
        } else {
            this.param += ('|' + param);
        }
    }

    public String getSkipParam() {
        return skipParam;
    }

    public void setSkipParam(String skipParam) {
        this.skipParam = skipParam;
    }

    public void addSkipParam(String skipParam) {
        if(StringUtils.isNullOrEmpty(this.skipParam)){
            this.skipParam = skipParam;
        } else {
            this.skipParam += ('|' + skipParam);
        }
    }
}
